{% include 'include/head.html' %}
<!-- Page Container START -->
            <div class="page-container">
                <!-- Content Wrapper START -->
                <div class="main-content">
                    <div class="page-header">
                        <h2 class="header-title">盘点信息表</h2>
                        <div class="header-sub-title">
                            <a href="/la/PDinfo/add"><button class="btn btn-secondary btn-tone m-r-5" >新建盘点表</button></a>
                            <a href="/la/skuinfo/import"><button class="btn btn-secondary btn-tone m-r-5" >导入盘点表</button></a>
                        </div>
                    </div>
                    <div class="card">
                        <div class="card-body">
                            <h4>盘点信息表</h4>
                            <div class="m-t-25">
                                <table id="data-table" class="table">
                                    <thead>
                                        <tr>
                                            <th>单号</th>
                                            <th>店铺名称</th>
                                            <th>做单时间</th>
                                            <th>单状态</th>
                                            <th>操作</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        {% for item in pdlist %}
                                        <tr>
                                            <td>{{ item.id }}</td>
                                            <td>{{ item.pdStore }}</td>
                                            <td>{{ item.pdData }}</td>
                                            <td>{{ item.state }}</td>
                                            <td>
                                                <a href="/la/PDinfo/{{ item.id }}/edit">
                                                    <button class="btn btn-primary btn-xs">查看</button>
                                                </a>
                                                <a href="/la/PDinfo/{{ item.id }}/edit">
                                                    <button class="btn btn-primary btn-xs">确认</button>
                                                </a>
                                                <a href="/la/PDinfo/{{ item.id }}/edit">
                                                    <button class="btn btn-primary btn-xs">过账</button>
                                                </a>
                                            </td>

                                        </tr>
                                        {% endfor %}
                                    </tbody>
                                    <tfoot>
                                        <tr>
                                            <th>单号</th>
                                            <th>店铺名称</th>
                                            <th>做单时间</th>
                                            <th>单状态</th>
                                            <th>操作</th>
                                        </tr>
                                    </tfoot>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- Content Wrapper END -->

                <!-- Footer START -->
                <footer class="footer">
                    <div class="footer-content">
                        <p class="m-b-0">Copyright © 2019 Theme_Nate. All rights reserved.</p>
                        <span>
                            <a href="" class="text-gray m-r-15">Term &amp; Conditions</a>
                            <a href="" class="text-gray">Privacy &amp; Policy</a>
                        </span>
                    </div>
                </footer>
                <!-- Footer END -->

            </div>
            <!-- Page Container END -->

        </div>
    </div>


    <!-- Core Vendors JS -->
    <script src="/static/assets/js/vendors.min.js"></script>

    <!-- page js -->
    <script src="/static/assets/vendors/datatables/jquery.dataTables.min.js"></script>
    <script src="/static/assets/vendors/datatables/dataTables.bootstrap.min.js"></script>
    <script src="/static/assets/js/pages/datatables.js"></script>

    <!-- Core JS -->
    <script src="/static/assets/js/app.min.js"></script>

</body>

</html>